<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String username = (String)request.getSession().getAttribute("username");
%>
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				<a class="brand" href=""><span><img src="<c:url value="/img/manager/logo.png"/>"></span></a>
				<!--  
					<a class="brand" href=""><span><font style="font-size: 30px;font-weight: bold;">8</font><font style="font-size: 25px;">小时人事管家</font></span></a>
				-->		
				<!-- start: Header Menu -->
				<div class="nav-no-collapse header-nav">
					<ul class="nav pull-right">
						<!-- start: User Dropdown -->
						<li class="dropdown">
							<span style="margin-right: 20px">你好，<%=username %></span>
							<span><i class="titleImg"><img src="<c:url value="/img/manager/icon_new.png"/>"></i>我的信息</span>
							<span><i class="titleImg"><img src="<c:url value="/img/manager/icon_login.png"/>"></i><a href="javascript:void(0)" onclick="quit()">退出登陆</a></span>
						</li>
						<!-- end: User Dropdown -->
					</ul>
				</div>
				<!-- end: Header Menu -->
				
			</div>
		</div>
	</div>
	<script type="text/javascript">
		function quit(){
			var urlquit=$("#basePath").attr("value")+"login/quit";;
			$.ajax({
				  type: 'POST',
				  url: urlquit, 
				  dataType:"json",
				  success:function(result){
				  }
			});
			var url=$("#basePath").attr("value");
			location.href =url;
		}
	</script>
	<!-- start: Header -->
	
